#ifndef APPINIT_H
#define APPINIT_H

#include <QObject>
#include <QMutex>
#include <QApplication>
#include <QEvent>

class AppInit : public QObject
{
    Q_OBJECT
public:
    static AppInit * getInstance();
    void start();

signals:

public slots:

protected:
    bool eventFilter(QObject * obj, QEvent * evt);

private:
    explicit AppInit(QObject * parent = nullptr);
    static AppInit * instance;
};

#endif // APPINIT_H
